<template>
    <div ref="domRef">
        login
        <div>
            count: {{ count }}
        </div>
        <div>
            doubleCount: {{ doubleCount }}
        </div>

    </div>
</template>

<script setup lang="ts">
import { useAppStore } from '@/store'

const { count, doubleCount } = storeToRefs(useAppStore())
const domRef = ref<Ref>()

</script>

<style scoped></style>